package com.ifox.hgx.spring.annotation.generic;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * Copyright (C), 2017-2018, 成都艾弗克斯科技有限公司
 * Author:   hanguixian
 * Date:     2018/10/21 14:09
 * Description:
 */
public class BaseService<T> {

    @Autowired
    protected BaseDao<T> baseDao ;

    public void save(T t){
        baseDao.save(t);
        System.out.println("service: save" + t);
    }
}
